<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#222"><meta name="generator" content="Hexo 7.3.0">

  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next-haha.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next-haha.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next-haha.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">



<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css" integrity="sha256-VHqXKFhhMxcpubYf9xiWdCiojEbY9NexQ4jh8AxbvcM=" crossorigin="anonymous">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.1.1/animate.min.css" integrity="sha256-PR7ttpcvz8qrF57fur/yAx1qXMFJeJFiA6pSzWi0OIE=" crossorigin="anonymous">

<script class="next-config" data-name="main" type="application/json">{"hostname":"ming.theyan.gs","root":"/","images":"/images","scheme":"Pisces","darkmode":false,"version":"8.25.0","exturl":false,"sidebar":{"position":"left","width_expanded":320,"width_dual_column":240,"display":"post","padding":18,"offset":12},"hljswrap":true,"codeblock":{"theme":{"light":"default","dark":"stackoverflow-dark"},"prism":{"light":"prism","dark":"prism-dark"},"copy_button":{"enable":false,"style":null},"fold":{"enable":false,"height":500},"language":false},"bookmark":{"enable":true,"color":"#222","save":"auto"},"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"stickytabs":false,"motion":{"enable":true,"async":false,"duration":200,"transition":{"menu_item":"fadeInDown","post_block":"fadeIn","post_header":"fadeInDown","post_body":"fadeInDown","coll_header":"fadeInLeft","sidebar":"fadeInUp"}},"prism":false,"i18n":{"placeholder":"搜索...","empty":"没有找到任何搜索结果：${query}","hits_time":"找到 ${hits} 个搜索结果（用时 ${time} 毫秒）","hits":"找到 ${hits} 个搜索结果"},"path":"/search.xml","localsearch":{"enable":true,"top_n_per_article":1,"unescape":false,"preload":false,"trigger":"auto"}}</script><script src="/js/config.js" defer></script>

    <meta name="description" content="好记性比不过烂笔头">
<meta property="og:type" content="website">
<meta property="og:title" content="运维烂笔头">
<meta property="og:url" content="https://ming.theyan.gs/page/7/index.html">
<meta property="og:site_name" content="运维烂笔头">
<meta property="og:description" content="好记性比不过烂笔头">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="老杨">
<meta name="twitter:card" content="summary">


<link rel="canonical" href="https://ming.theyan.gs/page/7/">


<script class="next-config" data-name="page" type="application/json">{"sidebar":"","isHome":true,"isPost":false,"lang":"zh-CN","comments":"","permalink":"","path":"page/7/index.html","title":""}</script>

<script class="next-config" data-name="calendar" type="application/json">""</script>
<title>运维烂笔头 - 一个 SA 老兵的工作日志</title>
  
    <script async src="https://www.googletagmanager.com/gtag/js?id=UA-106574959-2"></script>
  <script class="next-config" data-name="google_analytics" type="application/json">{"tracking_id":"UA-106574959-2","only_pageview":false,"measure_protocol_api_secret":null}</script>
  <script src="/js/third-party/analytics/google-analytics.js" defer></script>

  <script src="/js/third-party/analytics/baidu-analytics.js" defer></script>
  <script async src="https://hm.baidu.com/hm.js?fdef9ded31bdb8b2dab08eddebdd5fed"></script>







  
  <script src="https://cdnjs.cloudflare.com/ajax/libs/animejs/3.2.1/anime.min.js" integrity="sha256-XL2inqUJaslATFnHdJOi9GfQ60on8Wx1C2H8DYiN1xY=" crossorigin="anonymous" defer></script>
<script src="/js/utils.js" defer></script><script src="/js/motion.js" defer></script><script src="/js/sidebar.js" defer></script><script src="/js/next-boot.js" defer></script><script src="/js/bookmark.js" defer></script>

  <script src="https://cdnjs.cloudflare.com/ajax/libs/hexo-generator-searchdb/1.5.0/search.js" integrity="sha256-xFC6PJ82SL9b3WkGjFavNiA9gm5z6UBxWPiu4CYjptg=" crossorigin="anonymous" defer></script>
<script src="/js/third-party/search/local-search.js" defer></script>







  




<!-- google adsense -->
<script data-ad-client="ca-pub-1045025618858716" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

  <noscript>
    <link rel="stylesheet" href="/css/noscript.css">
  </noscript>
<link rel="alternate" href="/atom.xml" title="运维烂笔头" type="application/atom+xml">
</head>

<body itemscope itemtype="http://schema.org/WebPage" class="use-motion">
  <div class="headband"></div>

  <main class="main">
    <div class="column">
      <header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏" role="button">
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
        <span class="toggle-line"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <i class="logo-line"></i>
      <h1 class="site-title">运维烂笔头</h1>
      <i class="logo-line"></i>
    </a>
      <p class="site-subtitle" itemprop="description">一个 SA 老兵的工作日志</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger" aria-label="搜索" role="button">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>



<nav class="site-nav">
  <ul class="main-menu menu"><li class="menu-item menu-item-projects"><a href="/projects" rel="section"><i class="fa fa-code fa-fw"></i>projects</a></li><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li><li class="menu-item menu-item-archives"><a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>归档</a></li><li class="menu-item menu-item-sitemap"><a href="/sitemap.xml" rel="section"><i class="fa fa-sitemap fa-fw"></i>站点地图</a></li><li class="menu-item menu-item-commonweal"><a href="/404/" rel="section"><i class="fa fa-heartbeat fa-fw"></i>公益 404</a></li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
      <div class="search-header">
        <span class="search-icon">
          <i class="fa fa-search"></i>
        </span>
        <div class="search-input-container">
          <input autocomplete="off" autocapitalize="off" maxlength="80"
                placeholder="搜索..." spellcheck="false"
                type="search" class="search-input">
        </div>
        <span class="popup-btn-close" role="button">
          <i class="fa fa-times-circle"></i>
        </span>
      </div>
      <div class="search-result-container">
        <div class="search-result-icon">
          <i class="fa fa-spinner fa-pulse fa-5x"></i>
        </div>
      </div>
    </div>
  </div>

</header>
        
  
  <aside class="sidebar">

    <div class="sidebar-inner sidebar-overview-active">
      <ul class="sidebar-nav">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <div class="sidebar-panel-container">
        <!--noindex-->
        <div class="post-toc-wrap sidebar-panel">
        </div>
        <!--/noindex-->

        <div class="site-overview-wrap sidebar-panel">
          <div class="site-author animated" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">老杨</p>
  <div class="site-description" itemprop="description">好记性比不过烂笔头</div>
</div>
<div class="site-state-wrap animated">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
        <a href="/archives/">
          <span class="site-state-item-count">114</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
          <a href="/categories/">
        <span class="site-state-item-count">8</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
          <a href="/tags/">
        <span class="site-state-item-count">509</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author animated">
      <span class="links-of-author-item">
        <a href="https://github.com/haw-haw" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;haw-haw" rel="noopener me" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a>
      </span>
      <span class="links-of-author-item">
        <a href="mailto:blog@theyan.gs" title="E-Mail → mailto:blog@theyan.gs" rel="noopener me" target="_blank"><i class="fa fa-envelope fa-fw"></i>E-Mail</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://weibo.com/u/1494877243" title="Weibo → https:&#x2F;&#x2F;weibo.com&#x2F;u&#x2F;1494877243" rel="noopener me" target="_blank"><i class="fab fa-weibo fa-fw"></i>Weibo</a>
      </span>
      <span class="links-of-author-item">
        <a href="https://twitter.com/6fool" title="Twitter → https:&#x2F;&#x2F;twitter.com&#x2F;6fool" rel="noopener me" target="_blank"><i class="fab fa-twitter fa-fw"></i>Twitter</a>
      </span>
  </div>

        </div>
      </div>
    </div>

    
    <div class="sidebar-inner sidebar-blogroll">
      <div class="links-of-blogroll animated">
        <div class="links-of-blogroll-title"><i class="fa fa-globe fa-fw"></i>
          链接
        </div>
        <ul class="links-of-blogroll-list">
            <li class="links-of-blogroll-item">
              <a href="https://bad-pencil.github.io/" title="https:&#x2F;&#x2F;bad-pencil.github.io" rel="noopener" target="_blank">github 镜像站</a>
            </li>
            <li class="links-of-blogroll-item">
              <a href="https://hawhaw.gitee.io/" title="https:&#x2F;&#x2F;hawhaw.gitee.io" rel="noopener" target="_blank">gitee 镜像站</a>
            </li>
        </ul>
      </div>
    </div>
  </aside>


    </div>

    <div class="main-inner index posts-expand">

    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/07/How%20to%20disable%20SELinux%20on%20CentOS%207.x/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/07/How%20to%20disable%20SELinux%20on%20CentOS%207.x/index.html" class="post-title-link" itemprop="url">How to disable SELinux on CentOS 7.x in code</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2019-07-16 18:32:32" itemprop="dateCreated datePublished" datetime="2019-07-16T18:32:32+08:00">2019-07-16</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2019-07-19 20:13:26" itemprop="dateModified" datetime="2019-07-19T20:13:26+08:00">2019-07-19</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="How-to-disable-startup-services-from-Aliyun"><a href="#How-to-disable-startup-services-from-Aliyun" class="headerlink" title="How to disable startup services from Aliyun"></a>How to disable startup services from Aliyun</h1><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">sed -i.bak /etc/selinux/config -r -e <span class="string">&#x27;s/^SELINUX=.*/SELINUX=disabled/&#x27;</span></span><br><span class="line">setenforce 0</span><br></pre></td></tr></table></figure>

      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/06/How%20to%20host%20project%20usesthis/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/06/How%20to%20host%20project%20usesthis/index.html" class="post-title-link" itemprop="url">How to host a project named "Uses This"</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2019-06-15 19:29:55" itemprop="dateCreated datePublished" datetime="2019-06-15T19:29:55+08:00">2019-06-15</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2019-06-26 07:22:45" itemprop="dateModified" datetime="2019-06-26T07:22:45+08:00">2019-06-26</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h2 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h2><p>最近发现一个好玩儿的东东，一个澳大利亚的人写了个网站，专门做一些 IT 人事（也有其他行业的）的访问，问你都用什么（硬件软件）呀什么的。地址在：<a target="_blank" rel="noopener" href="https://usesthis.com/">这里</a></p>
<p>后来发现居然还是开源的！！！</p>
<p>一下子忍不住手痒就给弄过来自己 host 了一个网站：<a target="_blank" rel="noopener" href="https://usesthis.theyan.gs/">我的 Uses This</a></p>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2019/06/How%20to%20host%20project%20usesthis/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/05/%E7%94%A8%E7%88%B1%E5%BF%AB%E8%B7%AF%E7%94%B1%E5%99%A8%E7%A2%B0%E5%88%B0%E7%9A%84%E4%B8%80%E4%B8%AA%E7%BD%91%E7%BB%9C%E9%97%AE%E9%A2%98/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/05/%E7%94%A8%E7%88%B1%E5%BF%AB%E8%B7%AF%E7%94%B1%E5%99%A8%E7%A2%B0%E5%88%B0%E7%9A%84%E4%B8%80%E4%B8%AA%E7%BD%91%E7%BB%9C%E9%97%AE%E9%A2%98/index.html" class="post-title-link" itemprop="url">用爱快路由器碰到的一个网络问题</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2019-05-21 15:12:23" itemprop="dateCreated datePublished" datetime="2019-05-21T15:12:23+08:00">2019-05-21</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2019-05-22 15:12:29" itemprop="dateModified" datetime="2019-05-22T15:12:29+08:00">2019-05-22</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="环境"><a href="#环境" class="headerlink" title="环境"></a>环境</h1><p>我厂大内网都是通过 wireguard 联通的，具体可以参见文章：<a href="/2019/11/%E7%94%A8%20wireguard%20%E5%9C%A8%E4%B8%A4%E4%B8%AA%E7%BD%91%E7%BB%9C%E4%B9%8B%E9%97%B4%E6%89%93%E6%B4%9E/index.html" title="用 wireguard 在两个网络之间打洞">用 wireguard 在两个网络之间打洞</a> 能了解以前的“洞”是怎么打的，还可以参见文章：<a href="/2019/03/Linux%20%E4%B8%8B%20wireguard%20%E9%97%AE%E9%A2%98%E7%9A%84%E8%A7%A3%E5%86%B3/index.html" title="Linux 下 wireguard 出问题的解决">Linux 下 wireguard 出问题的解决</a> 了解 wireguard 打洞曾经踩过的坑。</p>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2019/05/%E7%94%A8%E7%88%B1%E5%BF%AB%E8%B7%AF%E7%94%B1%E5%99%A8%E7%A2%B0%E5%88%B0%E7%9A%84%E4%B8%80%E4%B8%AA%E7%BD%91%E7%BB%9C%E9%97%AE%E9%A2%98/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/04/how-to-tune-Nginx-acted-as-reverse-proxy-for-Kibana/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/04/how-to-tune-Nginx-acted-as-reverse-proxy-for-Kibana/index.html" class="post-title-link" itemprop="url">how to tune Nginx acted as reverse proxy for Kibana</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2019-04-19 23:13:05" itemprop="dateCreated datePublished" datetime="2019-04-19T23:13:05+08:00">2019-04-19</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2025-10-10 15:39:55" itemprop="dateModified" datetime="2025-10-10T15:39:55+08:00">2025-10-10</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h1><p>老套路，公司在用 AWS 上的 Elasticsearch 服务，连带的就有一个 Kibana，按照官方的说法，Kibana 这块的密码保护，可以用 AWS 的 Cognito 服务来做，或者是用前置 Nginx 反向代理的方法来做。</p>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2019/04/how-to-tune-Nginx-acted-as-reverse-proxy-for-Kibana/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/03/Linux%20%E4%B8%8B%20wireguard%20%E9%97%AE%E9%A2%98%E7%9A%84%E8%A7%A3%E5%86%B3/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/03/Linux%20%E4%B8%8B%20wireguard%20%E9%97%AE%E9%A2%98%E7%9A%84%E8%A7%A3%E5%86%B3/index.html" class="post-title-link" itemprop="url">Linux 下 wireguard 出问题的解决</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2019-03-11 18:51:20" itemprop="dateCreated datePublished" datetime="2019-03-11T18:51:20+08:00">2019-03-11</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2019-03-12 18:55:20" itemprop="dateModified" datetime="2019-03-12T18:55:20+08:00">2019-03-12</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h1><p>办公室某台跑 wireguard 打洞的机器挂了，重启之后发现 wireguard 设备起不来，</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line">wg-quick up wg_ofc;</span><br><span class="line"><span class="comment"># 配置文件为：/etc/wireguard/wg_ofc.conf</span></span><br></pre></td></tr></table></figure>

<p>会报错：</p>
<blockquote>
<p>Cannot find device “wg_ofc”</p>
</blockquote>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2019/03/Linux%20%E4%B8%8B%20wireguard%20%E9%97%AE%E9%A2%98%E7%9A%84%E8%A7%A3%E5%86%B3/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/02/xx%E5%85%AC%E5%8F%B8%E9%9D%A2%E8%AF%95%E6%80%BB%E7%BB%93%EF%BC%88%E6%9F%A5%E6%BC%8F%E8%A1%A5%E7%BC%BA%EF%BC%89/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/02/xx%E5%85%AC%E5%8F%B8%E9%9D%A2%E8%AF%95%E6%80%BB%E7%BB%93%EF%BC%88%E6%9F%A5%E6%BC%8F%E8%A1%A5%E7%BC%BA%EF%BC%89/index.html" class="post-title-link" itemprop="url">xx公司面试总结（查漏补缺）</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>
      

      <time title="创建时间：2019-02-21 15:12:23 / 修改时间：15:13:23" itemprop="dateCreated datePublished" datetime="2019-02-21T15:12:23+08:00">2019-02-21</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h1><p>今天下午面了一家特别想去的公司，结果聊很多，但是……折了，不要问我为什么知道的，面试完本来说别的同事（一般会是 HR）再聊一下但结果是前台来直接送走这不是凉了是什么？</p>
<p>主要原因我想是：</p>
<ul>
<li>人家本来要求就高</li>
<li>我有几个技术点答的不好</li>
</ul>
<p>我想，折了就折了吧，我只能看能不能变废为宝，从中学到点什么，吸取什么教训什么的，于是就有了本篇面试总结。</p>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2019/02/xx%E5%85%AC%E5%8F%B8%E9%9D%A2%E8%AF%95%E6%80%BB%E7%BB%93%EF%BC%88%E6%9F%A5%E6%BC%8F%E8%A1%A5%E7%BC%BA%EF%BC%89/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2019/01/ec2-mount-root-duplicate-uuid-error/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2019/01/ec2-mount-root-duplicate-uuid-error/index.html" class="post-title-link" itemprop="url">EC2 上挂载别的机器的根分区时"duplicate uuid" 问题</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2019-01-14 15:47:07" itemprop="dateCreated datePublished" datetime="2019-01-14T15:47:07+08:00">2019-01-14</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2025-10-10 15:39:55" itemprop="dateModified" datetime="2025-10-10T15:39:55+08:00">2025-10-10</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h1><p>最近要登某一台 ec2，结果其私钥丢了，于是根据文档，将这台 ec2 的机器 stop 掉，然后将根区先 detach 掉，然后再将其 attach 到同 subnet 的另外一台 ec2 上。</p>
<p>按照正常的流程，在另外一台好的 ec2 的机器上将刚 attach 过来的分区 mount 上以后再修改好其 authorized_keys 文件即可完成任务的。</p>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2019/01/ec2-mount-root-duplicate-uuid-error/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2018/12/eliza_sorensen/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2018/12/eliza_sorensen/index.html" class="post-title-link" itemprop="url">Eliza Sorensen 的访谈</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2018-12-16 18:32:32" itemprop="dateCreated datePublished" datetime="2018-12-16T18:32:32+08:00">2018-12-16</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2018-12-19 20:13:26" itemprop="dateModified" datetime="2018-12-19T20:13:26+08:00">2018-12-19</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-folder"></i>
      </span>
      <span class="post-meta-item-text">分类于</span>
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/UsesThis/" itemprop="url" rel="index"><span itemprop="name">UsesThis</span></a>
        </span>
          ，
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/UsesThis/Engineer/" itemprop="url" rel="index"><span itemprop="name">Engineer</span></a>
        </span>
          ，
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/UsesThis/Engineer/Developer/" itemprop="url" rel="index"><span itemprop="name">Developer</span></a>
        </span>
          ，
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/UsesThis/Engineer/Developer/Linux/" itemprop="url" rel="index"><span itemprop="name">Linux</span></a>
        </span>
          ，
        <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
          <a href="/categories/UsesThis/Engineer/Developer/Linux/Security/" itemprop="url" rel="index"><span itemprop="name">Security</span></a>
        </span>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="Eliza-Sorensen-的访谈"><a href="#Eliza-Sorensen-的访谈" class="headerlink" title="Eliza Sorensen 的访谈"></a>Eliza Sorensen 的访谈</h1><blockquote>
<p><strong><em>NOTE</em></strong>:</p>
</blockquote>
<ul>
<li>原文来自于 <a target="_blank" rel="noopener" href="https://www.usesthis.com/interviews/eliza.sorensen/">Eliza Sorensen</a></li>
<li>我 HOST 的版本在 <a target="_blank" rel="noopener" href="https://usesthis.theyan.gs/interviews/eliza.sorensen/">Eliza Sorensen</a></li>
</ul>
<h2 id="你是谁，你做什么工作"><a href="#你是谁，你做什么工作" class="headerlink" title="你是谁，你做什么工作"></a>你是谁，你做什么工作</h2><p>我是 Eliza Sorensen 或其他任何地方的 <a target="_blank" rel="noopener" href="https://twitter.com/zemmiph0bia" title="Eliza 的 Twitter 帐户">@zemmiph0bia</a>。我是澳大利亚墨尔本市的一名基础设施和安全工程师，也是创建了性工作友好社交空间 <a target="_blank" rel="noopener" href="https://switter.at/" title="对性工作者友好的Mastodon服务（可能是NSFW）">Switter.at</a> 和现代广告平台 <a target="_blank" rel="noopener" href="https://tryst.link/" title="护送广告平台（可能是NSFW）">Tryst.link</a> 的 <a target="_blank" rel="noopener" href="https://assemblyfour.com/" title="性工作者和技术专家的集体">Assembly Four</a> 的共同创始人。</p>
<h2 id="您使用什么硬件"><a href="#您使用什么硬件" class="headerlink" title="您使用什么硬件"></a>您使用什么硬件</h2><p>看来这些天我一直在移动，所以我严重依赖我的 <a target="_blank" rel="noopener" href="http://shop.lenovo.com/us/en/laptops/thinkpad/x-series/x1-carbon/" title="14 英寸的轻便笔记本电脑">X1 Carbon</a>, Google <a target="_blank" rel="noopener" href="https://en.wikipedia.org/wiki/Pixel_3" title="6.3 英寸 android 智能手机，Google 亲儿子第三代">Pixel 3 XL</a>, Audio Technica <a target="_blank" rel="noopener" href="http://sea.audio-technica.com/products/headphones/lifestyle/all-earphones/ath-ar5bt" title="头戴式式无线耳机">ATH-AR5BT headphones</a>，powerpack（很大的背包？），笔记本和 Lamy（凌美，一种笔）<a target="_blank" rel="noopener" href="https://www.lamy.com/eng/b2c/safari" title="一种笔">Safari</a>。</p>
<p>当我在办公桌前时，可以使用两台 Dell 27 英寸显示器，一个 <a target="_blank" rel="noopener" href="https://www.duckychannel.com.tw/page-en/ducky-one/" title="一种机械键盘">Ducky One</a> 机械键盘（樱桃棕色轴）和一个Logitech <a target="_blank" rel="noopener" href="https://support.logitech.com/en_us/product/wireless-gaming-mouse-g700" title="一种无线游戏鼠标">G700</a> 鼠标。</p>
<h2 id="您用什么软件"><a href="#您用什么软件" class="headerlink" title="您用什么软件"></a>您用什么软件</h2><p>我只想在台式机上使用 Linux，我的操作系统是<a target="_blank" rel="noopener" href="https://www.ubuntu.com/" title="一种 Unix（其实应该是 Linux） 发布">Ubuntu</a>，我的 shell 是 <a target="_blank" rel="noopener" href="http://www.zsh.org/" title="一种交互式 shell 和脚本语言">zsh</a>，我用 <a target="_blank" rel="noopener" href="https://en.wikipedia.org/wiki/ProtonVPN" title="VPN 提供商">ProtonVPN</a> 连接，我用 <a target="_blank" rel="noopener" href="https://www.mozilla.org/en-US/firefox/new/" title="一种跨平台开源的 web 浏览器">Firefox</a> （上网）冲浪，我用 <a target="_blank" rel="noopener" href="https://1password.com/" title="Mac OS X 上的一种密码管理软件。">1Password</a> 保存密码，我用 <a target="_blank" rel="noopener" href="https://www.spotify.com/us/" title="一种音乐流服务">Spotify</a> 听音乐，我用 <a target="_blank" rel="noopener" href="https://toggl.com/" title="一种时间跟踪服务">Toggl</a> 管理时间、用 <a target="_blank" rel="noopener" href="https://clubhouse.io/" title="一种项目管理的软件服务">Clubhouse</a> 管理任务，用 <a target="_blank" rel="noopener" href="https://www.vim.org/" title="一种命令行文本编辑器">vim</a> 写作，用 <a target="_blank" rel="noopener" href="http://www.sublimetext.com/" title="一种程序员的文本编辑器">Sublime Text 3</a> 写代码，使用 <a target="_blank" rel="noopener" href="https://zealdocs.org/" title="一种开发者的离线文档阅读器">Zeal</a> 保留我的文档。</p>
<h2 id="您的理想设置是什么"><a href="#您的理想设置是什么" class="headerlink" title="您的理想设置是什么"></a>您的理想设置是什么</h2><p>我对当前设置非常满意，但是我不介意回到带有樱桃蓝色轴的键盘……但是我不想赶走我的伴侣。</p>

      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2018/10/How-to-enable-BBR-in-OpenVZ/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2018/10/How-to-enable-BBR-in-OpenVZ/index.html" class="post-title-link" itemprop="url">How to enable BBR in OpenVZ</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2018-10-02 10:41:12" itemprop="dateCreated datePublished" datetime="2018-10-02T10:41:12+08:00">2018-10-02</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2018-10-03 18:43:35" itemprop="dateModified" datetime="2018-10-03T18:43:35+08:00">2018-10-03</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h1><p>以前有个贪便宜（一年 5 刀）而入手但目前在吃灰中的小鸡，当然是 <strong>OpenVZ</strong>，网络条件很差，用起来很鸡肋，后来看到 <a href="https://github.com/google/bbr" target="_blank" rel="noopener">Google 的 BBR</a> 也有能用在 OpenVZ 的案例，于是也想尝试下，看是否能将其起死回生。<br>
          <!--noindex-->
            <div class="post-button">
              <a class="btn" href="/2018/10/How-to-enable-BBR-in-OpenVZ/index.html#more" rel="contents">
                阅读全文 &raquo;
              </a>
            </div>
          <!--/noindex-->
        
      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




    


<div class="post-block">
  
  

  <article itemscope itemtype="http://schema.org/Article" class="post-content" lang="">
    <link itemprop="mainEntityOfPage" href="https://ming.theyan.gs/2018/08/%E4%B8%80%E4%B8%AA%E4%BB%8E%20Phabricator%20%E4%B8%AD%E6%8A%93%E5%87%BA%E4%BB%BB%E5%8A%A1%E7%94%9F%E6%88%90%E5%91%A8%E6%8A%A5%E7%9A%84%E4%B8%9C%E8%A5%BF/index.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="老杨">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维烂笔头">
      <meta itemprop="description" content="好记性比不过烂笔头">
    </span>

    <span hidden itemprop="post" itemscope itemtype="http://schema.org/CreativeWork">
      <meta itemprop="name" content=" | 运维烂笔头">
      <meta itemprop="description" content="">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          <a href="/2018/08/%E4%B8%80%E4%B8%AA%E4%BB%8E%20Phabricator%20%E4%B8%AD%E6%8A%93%E5%87%BA%E4%BB%BB%E5%8A%A1%E7%94%9F%E6%88%90%E5%91%A8%E6%8A%A5%E7%9A%84%E4%B8%9C%E8%A5%BF/index.html" class="post-title-link" itemprop="url">一个从 Phabricator 中抓出任务生成周报的东西</a>
        </h2>

        <div class="post-meta-container">
          <div class="post-meta">
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar"></i>
      </span>
      <span class="post-meta-item-text">发表于</span>

      <time title="创建时间：2018-08-27 19:06:10" itemprop="dateCreated datePublished" datetime="2018-08-27T19:06:10+08:00">2018-08-27</time>
    </span>
    <span class="post-meta-item">
      <span class="post-meta-item-icon">
        <i class="far fa-calendar-check"></i>
      </span>
      <span class="post-meta-item-text">更新于</span>
      <time title="修改时间：2018-08-29 20:31:22" itemprop="dateModified" datetime="2018-08-29T20:31:22+08:00">2018-08-29</time>
    </span>

  
</div>

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">
          <h1 id="缘起"><a href="#缘起" class="headerlink" title="缘起"></a>缘起</h1><p>自然是我司每周都要完成的周报。</p>
<h2 id="背景"><a href="#背景" class="headerlink" title="背景"></a>背景</h2><p>我司重度依赖“不存在网站”：<a href="https://www.facebook.com" target="_blank" rel="noopener">Facebook</a> 开源出来的项目：<a href="https://www.phacility.com/phabricator/" target="_blank" rel="noopener">Phabricator</a>，我们的每项工作也来自于其中的 Maniphest（不知道是什么语言，不像英语，反正应该就是 task 的意思），每周的工作周报里提到的事情如果有 task 的（一般都有），都还要附上其 task id。</p>
<p>同时，<a href="https://www.phacility.com/phabricator/" target="_blank" rel="noopener">Phabricator</a> 目前的运营公司： <a href="https://www.phacility.com/" target="_blank" rel="noopener">Phacility</a> 同时也放出了一套 php 的类似于 SDK 的东西：<a href="https://github.com/phacility/libphutil" target="_blank" rel="noopener">libphutil</a>，所以我就开始尝试着用 php 来撸一个自动生成、发布周报的东西。</p>
<h1 id="about-Pha-WR-SRE"><a href="#about-Pha-WR-SRE" class="headerlink" title="about Pha_WR_SRE"></a>about Pha_WR_SRE</h1><p><a href="https://github.com/haw-haw/Pha_WR_SRE" target="_blank" rel="noopener">Pha_WR_SRE</a>，<br>不许说项目名称起的很雷人。:(</p>
<p>这个东西怎么做的就不说了，这里主要说下大概实现了哪些功能。</p>
<h2 id="输出的信息"><a href="#输出的信息" class="headerlink" title="输出的信息"></a>输出的信息</h2><p>输出的信息分三种：“completed”、”ongoing” 和 “other”，分别对应着“已完成”、“未完成”和“其他”。</p>
<h2 id="输出的目标"><a href="#输出的目标" class="headerlink" title="输出的目标"></a>输出的目标</h2><p>已实现的是四种：</p>
<ol>
<li>Console</li>
<li>OneNote</li>
<li>Evernote</li>
<li>Phabircator’s Phame</li>
</ol>
<p>第一种就不用说了，如果在控制台运行，运行结果会被直接输出到控制台的；  </p>
<p>第二种也简单，OneNote 支持用 Email 的方式发布 Note，不过需要先在 OneNote 里设置下发邮件的地址白名单（具体见 <a href="https://github.com/haw-haw/Pha_WR_SRE/blob/master/README.md" target="_blank" rel="noopener">README 文件</a>）；  </p>
<p>第三种跟 OneNote 差不多，不过 Evernote 需要一定级别的帐号才支持这种功能，而且他的目标 email 地址是隐藏的，需要自己去找，而且不建议让别人知道；  </p>
<p>第四种是我自己想的，反正 Phabricator 也支持 blog 功能（Phame），不过这个需要先在 Phabricator 中新建一个 blog 获得其的 phid 并配置在 config.ini 中；</p>
<h1 id="macOS"><a href="#macOS" class="headerlink" title="macOS"></a>macOS</h1><p>对于用 macOS 的用户，这里还有个特殊的新功能：可以直接设置定时运行这个任务。具体方法就是把项目里那个 .plist.example 文件稍稍修改下（也可以不修改），改名去掉“.example”，放到 ~/Library/LaunchAgents 目录下，然后可以用命令：</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># load .plist file if U have not change it's name</span></span><br><span class="line">launchctl load gs.theyan.phawrsre.plist;</span><br><span class="line"><span class="comment"># start job manually</span></span><br><span class="line">launchctl launchctl start GenerateReport.job;</span><br></pre></td></tr></table></figure>

      
    </div>

    
    
    

    <footer class="post-footer">
        <div class="post-eof"></div>
      
    </footer>
  </article>
</div>




  <nav class="pagination">
    <a class="extend prev" rel="prev" title="上一页" aria-label="上一页" href="/page/6/"><i class="fa fa-angle-left"></i></a><a class="page-number" href="/">1</a><span class="space">&hellip;</span><a class="page-number" href="/page/6/">6</a><span class="page-number current">7</span><a class="page-number" href="/page/8/">8</a><span class="space">&hellip;</span><a class="page-number" href="/page/12/">12</a><a class="extend next" rel="next" title="下一页" aria-label="下一页" href="/page/8/"><i class="fa fa-angle-right"></i></a>
  </nav>

</div>
  </main>

  <footer class="footer">
    <div class="footer-inner">

  <div class="copyright">
    &copy; 
    <span itemprop="copyrightYear">2025</span>
    <span class="with-love">
      <i class="fa fa-heart"></i>
    </span>
    <span class="author" itemprop="copyrightHolder">老杨</span>
  </div>
  <div class="powered-by">由 <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a> & <a href="https://theme-next.js.org/pisces/" rel="noopener" target="_blank">NexT.Pisces</a> 强力驱动
  </div>

    </div>
  </footer>

  
  <div class="toggle sidebar-toggle" role="button">
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
    <span class="toggle-line"></span>
  </div>
  <div class="sidebar-dimmer"></div>
  <div class="back-to-top" role="button" aria-label="返回顶部">
    <i class="fa fa-arrow-up fa-lg"></i>
    <span>0%</span>
  </div>
  <a role="button" class="book-mark-link book-mark-link-fixed"></a>

<noscript>
  <div class="noscript-warning">Theme NexT works best with JavaScript enabled</div>
</noscript>

</body>
</html>
